package com.j.lemon.learn.thread;

import java.util.Arrays;

/**
 * @Author lijunjun
 * @Date 2019-03-18 17:19
 * @Description
 */
public class VariableTest {
    private final String [] str = new String[]{"1","2","3"};

    public String[] getStr() {
        return str;
    }

    public static void main(String[] args) {
        VariableTest test1 = new VariableTest();
        String[] str = test1.getStr();
        str[0]="哈哈哈";
        System.out.println(Arrays.toString(test1.getStr()));
    }
}
